package cmo.neutech.day15;

public class customer {
    public synchronized void custome() throws InterruptedException {
        while(Text.count == 0){
            wait();
        }
        Text.buff[--Text.count] = 0;
        System.out.println("消费了产品了一个产品，当前数量：" + Text.count);
        notifyAll();
    }
}
